{extend name='admin@main'}

{block name="content"}

{include file='store@goods/form_style'}
<div class="layui-card-body think-box-shadow padding-left-40">
  <div class="layui-tab">
    
    <ul class="layui-tab-title">
      <li class="layui-this">会员基本信息</li>
      {if auth("member/index/integral")}
      <li ><a data-open="{:url('integral')}?id={$userinfo.id}">积分详情</a></li>
      {/if}
      {if auth("member/index/charge")}
      <li ><a data-open="{:url('charge')}?id={$userinfo.id}">发布豆详情</a></li>
      {/if}
    </ul>
    <div class="layui-tab-content">
      <div class="layui-tab-item layui-show">
        <fieldset class="layui-elem-field layui-field-title" >
          <legend>基本信息</legend>
        </fieldset>
        <form class="layui-form layui-form-pane" action="">

          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">会员ID</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.id|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">微信名</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.wechat_nickname|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">联系电话</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.mobile|default=''}" readonly="" autocomplete="off" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">邮箱</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.email|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">openid</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.wechat_openid|default=''}" autocomplete="off"  class="layui-input" type="text">
              </div>
            </div>
          </div>

          <div class="layui-form-item">
            
          
            <div class="layui-inline">
              <label class="layui-form-label">所在省</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.province|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">所在市</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.city|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">所在地区</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.county|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">认证类型</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.type|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>

            <div class="layui-inline">
              <label class="layui-form-label">认证状态</label>
              <div class="layui-input-inline">
                <input name="number" value="{$userinfo.status}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
          </div>
        </form>
        <fieldset class="layui-elem-field layui-field-title" >
          <legend>认证信息</legend>
        </fieldset>
        <form class="layui-form layui-form-pane" action="">

          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">真实姓名</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.true_name|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">身份证号</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.id_card|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">性别</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.sex|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">微信号</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" value="{$extend.wechat_id_card|default=''}" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">学历</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.transEducation|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
          </div>

          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">学校</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.school|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">专业</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.schoolmajor|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">职业</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.transProfession|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            
            <div class="layui-inline">
              <label class="layui-form-label">发布的兼职数</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.publish_job_num|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">参加的兼职数</label>
              <div class="layui-input-inline">
                <input name="number" value="{$extend.join_job_num|default=''}" autocomplete="off" readonly="" class="layui-input" type="text">
              </div>
            </div>
          </div>
<!--           <div class="layui-form-item">
            
            <div class="layui-inline">
              <label class="layui-form-label">身份证正面</label>
              <div class="layui-input-inline">
               <a data-tips-image="{$extend.id_card_zm_img|default=''}" ><img style="width: 200px;height: 200px;" src="{$extend.id_card_zm_img}"></a>
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">身份证反面</label>
              <div class="layui-input-inline">

               <a data-tips-image="{$extend.id_card_bm_img|default=''}" ><img style="width: 200px;height: 200px;" src="{$extend.id_card_bm_img}"></a>
              </div>
            </div>
          </div> -->
        </form>
      </div>
</div>
</div>
  </div>

{/block}

{block name='script'}

<script>
  window.form.render();
  layui.use('laydate', function(){
    var laydate = layui.laydate;
    //常规用法
    laydate.render({
      elem: '#test1'
    });
    laydate.render({
      elem: '#test2'
    });
    
  });

  require(['ckeditor', 'angular'], function () {
     window.createEditor('[name="content"]', {height: 200});
     window.createEditor('[name="content1"]', {height: 200});
     window.createEditor('[name="content2"]', {height: 200});
   });
</script>

{/block}